<?php  
class ControllerModuleFacebooktwittergoogleplusslide extends Controller {
	protected function index() {
	
		$this->language->load('module/facebooktwittergoogleplusslidebox');

    	$this->data['text_loading'] = $this->language->get('text_loading');
    	$this->data['text_join_text_default'] = $this->language->get('text_join_text_default');
    	$this->data['text_join_text_ed'] = $this->language->get('text_join_text_ed');
    	$this->data['text_join_text_ing'] = $this->language->get('text_join_text_ing');
    	$this->data['text_join_text_reply'] = $this->language->get('text_join_text_reply');
    	$this->data['text_join_text_url'] = $this->language->get('text_join_text_url');
    	$this->data['text_follow'] = $this->language->get('text_follow');
    	$this->data['text_link_profile'] = $this->language->get('text_link_profile');
		
        
		        $this->data['twitter_id'] = html_entity_decode($this->config->get('facebooktwittergoogleplusslidebox_twitter'));
        $this->data['page_id'] = html_entity_decode($this->config->get('facebooktwittergoogleplusslidebox_id'));

		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/facebooktwittergoogleplusslidebox.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/module/facebooktwittergoogleplusslidebox.tpl';
		} else {
			$this->template = 'default/template/module/facebooktwittergoogleplusslidebox.tpl';
		}
		
		$this->render();
	}
}
?>